package com.zlb.domain;

import java.io.Serializable;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
import javax.persistence.Table;
import javax.persistence.Transient;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 用户对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Table
public class User implements Serializable {

  private static final long serialVersionUID = -9077975168976887742L;

  private Long userId;
  private String username;
  private String password;
  private String encryptPwd;
  private String salt;
  private List<String> roles;

}
